4.7
MEDIUM CVSS 3.1
CVE-2025-5054
Canonical Apport Container Sensitive Information Leak Race Condition
Description

Race condition in Canonical apport up to and including 2.32.0 allows a local attacker to leak sensitive information via PID-reuse by leveraging namespaces. When handling a crash, the function `_check_global_pid_and_forward`, which detects if the crashing process resided in a container, was being called before `consistency_checks`, which attempts to detect if the crashing process had been replaced. Because of this, if a process crashed and was quickly replaced with a containerized one, apport could be made to forward the core dump to the container, potentially leaking sensitive information. `consistency_checks` is now being called before `_check_global_pid_and_forward`. Additionally, given that the PID-reuse race condition cannot be reliably detected from userspace alone, crashes are only forwarded to containers if the kernel provided a pidfd, or if the crashing process was unprivileged (i.e., if dump mode == 1).

INFO

Published Date :

May 30, 2025, 6:15 p.m.

Last Modified :

Aug. 22, 2025, 7:36 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2025-5054 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
2 Canonical apport
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Update the affected packages.
Public PoC/Exploit Available at Github

CVE-2025-5054 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-5054.

URL Resource
https://ubuntu.com/security/CVE-2025-5054 Third Party Advisory
https://ubuntu.com/security/notices/USN-7545-1 Third Party Advisory
https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt Exploit Mitigation Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-5054 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-5054 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Contains List of CVE's that I have found (Individual + Collaborative work)

Updated: 1 week, 5 days ago
0 stars 0 fork 0 watcher
Born at : July 28, 2025, 1:07 p.m. This repo has been linked 106 different CVEs too.

None

Python

Updated: 2 months, 2 weeks ago
2 stars 0 fork 0 watcher
Born at : June 6, 2025, 3:13 a.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 9 hours, 35 minutes ago
7213 stars 1201 fork 1201 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 805 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-5054 vulnerability anywhere in the article.

  • seclists.org
Local information disclosure in apport and systemd-coredump

Full Disclosure mailing list archives From: Qualys Security Advisory via Fulldisclosure <fulldisclosure () seclists org> Date: Thu, 29 May 2025 17:26:22 +0000 Qualys Security Advisory Local informatio ... Read more

Published Date: Jun 03, 2025 (2 months, 3 weeks ago)
  • Schneier on Security
New Linux Vulnerabilities

They’re interesting: Tracked as CVE-2025-5054 and CVE-2025-4598, both vulnerabilities are race condition bugs that could enable a local attacker to obtain access to access sensitive information. Tools ... Read more

Published Date: Jun 03, 2025 (2 months, 3 weeks ago)
  • Daily CyberSecurity
Linux Flaws Expose Sensitive Data via Core Dumps

In a recent disclosure, the Qualys Threat Research Unit (TRU) has unearthed two local information disclosure vulnerabilities affecting core crash-reporting mechanisms in major Linux distributions. Ass ... Read more

Published Date: Jun 03, 2025 (2 months, 3 weeks ago)
  • Hackread - Latest Cybersecurity, Hacking News, Tech, AI & Crypto
Linux Crash Reporting Flaws (CVE-2025-5054, 4598) Expose Password Hashes

Qualys details CVE-2025-5054 and CVE-2025-4598, critical vulnerabilities affecting Linux crash reporting tools like Apport and systemd-coredump. Learn how to protect your Ubuntu, Red Hat, and Fedora s ... Read more

Published Date: Jun 02, 2025 (2 months, 3 weeks ago)
  • Cyber Security News
Critical Linux Vulnerabilities Expose Password Hashes on Millions of Linux Systems Worldwide

Two critical local information-disclosure vulnerabilities affecting millions of Linux systems worldwide, potentially allowing attackers to extract sensitive password data through core dump manipulatio ... Read more

Published Date: Jun 02, 2025 (2 months, 3 weeks ago)
  • The Hacker News
New Linux Flaws Allow Password Hash Theft via Core Dumps in Ubuntu, RHEL, Fedora

Two information disclosure flaws have been identified in apport and systemd-coredump, the core dump handlers in Ubuntu, Red Hat Enterprise Linux, and Fedora, according to the Qualys Threat Research Un ... Read more

Published Date: May 31, 2025 (2 months, 3 weeks ago)

The following table lists the changes that have been made to the CVE-2025-5054 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 22, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:* versions up to (including) 2.32.0
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:24.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:24.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:25.04:*:*:*:*:*:*:*
    Added Reference Type Canonical Ltd.: https://ubuntu.com/security/CVE-2025-5054 Types: Third Party Advisory
    Added Reference Type Canonical Ltd.: https://ubuntu.com/security/notices/USN-7545-1 Types: Third Party Advisory
    Added Reference Type Canonical Ltd.: https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt Types: Exploit, Mitigation, Third Party Advisory
  • New CVE Received by [email protected]

    May. 30, 2025

    Action Type Old Value New Value
    Added Description Race condition in Canonical apport up to and including 2.32.0 allows a local attacker to leak sensitive information via PID-reuse by leveraging namespaces. When handling a crash, the function `_check_global_pid_and_forward`, which detects if the crashing process resided in a container, was being called before `consistency_checks`, which attempts to detect if the crashing process had been replaced. Because of this, if a process crashed and was quickly replaced with a containerized one, apport could be made to forward the core dump to the container, potentially leaking sensitive information. `consistency_checks` is now being called before `_check_global_pid_and_forward`. Additionally, given that the PID-reuse race condition cannot be reliably detected from userspace alone, crashes are only forwarded to containers if the kernel provided a pidfd, or if the crashing process was unprivileged (i.e., if dump mode == 1).
    Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
    Added CWE CWE-362
    Added Reference https://ubuntu.com/security/CVE-2025-5054
    Added Reference https://ubuntu.com/security/notices/USN-7545-1
    Added Reference https://www.qualys.com/2025/05/29/apport-coredump/apport-coredump.txt
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 4.7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact